package com.common.web.socket;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

import lombok.extern.slf4j.Slf4j;

@Component
@Slf4j
public class WebSocketConfig {
	
	public WebSocketConfig() {
		log.info("webSocketConfig初始化......"+this.getClass().getSimpleName());
	}
	
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
    
}
